/**
 * 
 */
package com.highveldsky.leaverequest.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.highveldsky.leaverequest.shared.model.LeaveRequest;

/**
 * @author david
 *
 */
@RemoteServiceRelativePath("service")
public interface LeaveRequestService extends RemoteService {

	public boolean submitLR(LeaveRequest lr) throws Exception;
	public boolean approveLR(long id) throws Exception;
	public List<LeaveRequest> listApproversLRs(String approver) throws Exception;
	public List<LeaveRequest> listEmployeesLRs(String approver) throws Exception;
	
}
